load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "gocovmerge_lib",
    srcs = ["gocovmerge.go"],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/wadey/gocovmerge",
    importpath = "github.com/wadey/gocovmerge",
    visibility = ["//visibility:private"],
    deps = ["//vendor/golang.org/x/tools/cover"],
)

go_binary(
    name = "gocovmerge",
    embed = [":gocovmerge_lib"],
    visibility = ["//visibility:public"],
)
